:root {
  /*=======Main theme colors=======*/
  --first-color: #6a59d1;
  --second-color: rgb(121, 82, 179);
  --third-color: #777;
  /*=======Hover colors=======*/
  --hover-color: #5543cc;
  /*=======Background colors=======*/
  --btn-bg-color: rgb(255, 228, 132);
  --body-bg-color: #fcf5f5;
  --card-bg-color: rgb(239 228 255);
  --modal-bg-color: #fff;
  --bg-transparent-color: rgba(0, 0, 0, 0.1);
  --transparent-color-01: rgba(0, 0, 0, 0.1);
  --transparent-color-02: rgba(106, 89, 209, 0.1);
  --line-color: #d7d7d7;
  /*=======Scroll bar colors=======*/
  --scroll-bar-color: #c5cadf;
  --scroll-thumb-color: #70768a;
  --scroll-thumb-hover-color: #454f6b;
  /*=======Box shadow=======*/
  --box-shadow: 0px 0px 20px rgb(0 0 0 /10%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

html {
  scroll-behavior: smooth;
  user-select: none;
}

body {
  transition: 0.5s ease;
  background: var(--body-bg-color);
}

a {
  text-decoration: none;
}

ul,
ol,
dl,
li {
  list-style: none;
}

button,
input,
select {
  outline: none;
}

table {
  border-collapse: collapse;
  text-align: center;
  vertical-align: center;
  border: 2px solid var(--third-color);
}

/*=======Scroll bar=======*/
::-webkit-scrollbar {
  width: 10px;
  background: var(--scroll-bar-color);
}

::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb-color);
  border-radius: 2em;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover-color);
}

/* header */
header {
  width: 100%;
  min-width: 900px;
  z-index: 9999;
  position: sticky;
  top: 0;
  left: 0;
  backdrop-filter: blur(20px);
  /* transition: .6s ease; */
}

header.sticky .nav-bar {
  height: calc(2.5rem + 1rem);
}

header.sticky {
  background: rgba(244, 243, 243, 0.1);
  box-shadow: var(--box-shadow);
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1250px;
  min-width: 850px;
  height: calc(4rem + 1rem);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  padding: 0 20px;
  transition: 0.6s ease;
}

.nav-bar .logo {
  color: var(--first-color);
  font-size: 3rem;
  font-weight: 600;
}

.nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-items a {
  color: var(--first-color);
  font-size: 1em;
  font-weight: 600;
  transition: all 0.2s ease;
}

.nav-items a:not(:last-child) {
  margin-right: 50px;
}

.nav-items a:hover {
  color: var(--hover-color);
}

/* footer */
footer {
  min-width: 900px;
  z-index: 999;
  bottom: 0;
  background-color: rgb(235, 229, 213);
  height: 5em;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .about {
  margin-top: 5px;
  color: #222;
  max-width: 1250px;
  margin: 0 auto;
  text-align: center;
  font-size: 1em;
}

#theTip {
  width: 350px;
  height: 250px;
  background: var(--card-bg-color);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  z-index: 999;
  border-radius: 20px;
  padding: 20px;
}

#theTip>span {
  display: block;
  color: rgb(187, 18, 18);
  width: 100%;
  height: 100px;
  text-align: center;
  font-size: 30px;
  padding-top: 50px;
}

#theTip>button {
  width: 100px;
  height: 40px;
  font-size: 1rem;
  margin: 0 10px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  background: var(--first-color);
  color: #fff;
}

#theTip>div>button:hover {
  background: var(--btn-bg-color);
  color: #000;
}

#tipShadow {
  position: fixed;
  width: 100%;
  height: 100%;
  background: var(--bg-transparent-color);
  z-index: 888;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}